import request from '@/utils/request'

// 查询便民服务新版列表
export function listHelpPeople(data) {
  return request({
    url: '/system/HelpPeople/list',
    method: 'post',
    data: data
  })
}

// 查询便民服务新版详细
export function getHelpPeople(id) {
  return request({
    url: '/system/HelpPeople/' + id,
    method: 'get'
  })
}

// 新增便民服务新版
export function addHelpPeople(data) {
  return request({
    url: '/system/HelpPeople',
    method: 'post',
    data: data
  })
}

// 修改便民服务新版
export function updateHelpPeople(data) {
  return request({
    url: '/system/HelpPeople',
    method: 'put',
    data: data
  })
}

// 删除便民服务新版
export function delHelpPeople(id) {
  return request({
    url: '/system/HelpPeople/' + id,
    method: 'delete'
  })
}


// 统计
export function postCount(data) {
  return request({
    url: '/system/HelpPeople/count',
    method: 'post',
    data: data
  })
}